package org.apache.doris.demo.spring.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.doris.demo.spring.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@DS("slave_1")
public interface UserMapper extends BaseMapper<User> {
    // Custom database operations
    int deleteByMap(@Param("cm") Map<String, Object> columnMap);
}